package top.sssd.auth.model.rolePermission.entity;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.sssd.auth.common.CommonEntity;

@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value = "RolePermission对象", description = "角色权限关联表")
public class RolePermission extends CommonEntity {
    //主键ID
    @ApiModelProperty(value = "主键ID")
    private Long id;
    //角色ID
    @ApiModelProperty(value = "角色ID")
    private Long roleId;
    //权限ID
    @ApiModelProperty(value = "权限ID")
    private Long permissionId;
}
